<template>
  <div id="UserLayout">
    <a-layout style="min-height: 100vh">
      <a-layout-header class="header">
        <a-space>
          <img src="../assets/oj-logo.jpg" class="logo" />
          <div>滨oj</div>
        </a-space>
      </a-layout-header>
      <a-layout-content class="content">
        <router-view />
      </a-layout-content>
      <a-layout-footer class="footer">oj判题系统cyb</a-layout-footer>
    </a-layout>
  </div>
</template>

<style scoped>
#UserLayout {
  text-align: center;
}

#UserLayout .logo {
  width: 64px;
  height: 64px;
}

#UserLayout {
  height: 100%;
}

#UserLayout .header {
  margin: 20px;
}

#UserLayout .content {
  padding: 20px;
  margin-bottom: 16px;
}

#UserLayout .footer {
  background: #3eaf7c;
  padding: 16px;
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
}
</style>
<script setup lang="ts"></script>
